#ifndef _GAME_H
#define _GAME_H

#include "sdl.h"
#include "CSurface.h"
#include "sprite.h"
#include "paddle.h"
#include "ball.h"
#include "ScoreScreen.h"



class Game
{
	public:
		Paddle *paddle;
		Paddle *paddle2;
		Ball *ball;
		unsigned int fps1, fps2;
		SDL_Surface* display;
		ScoreScreen* score;

		/* Initialize the game structure */
		bool start();

		/* Accept input from the game */
		bool input(SDL_Event* e);

		/* Update all in-game values */
		void update();

		/* Draw all in-game backgrounds, sprites, etc. */
		void draw(SDL_Surface* display);

		/* Properly clean up any used resources */
		void end();
};
#endif